#pragma once


namespace DLNLib
{
	class MonthRecord
	{
	public:
		MonthRecord(const CString& _resource,const CString& _file,const CString& _USN);
		~MonthRecord(void);
	private:
		void SetTime();
		void Init();
		void Load();
		void Dispatch();
		void Parse(DayRecord& rDay,char* rString);
		bool Append(const Data& rhs);
		void Save();
	public:
		CString file;
		CString resource;
		COleDateTime time;
		CString USN;
		int MaxDaySize;
		DayRecord* *day;
		DayRecord* NextMonthFirstDay;
	};
}